import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import App from './App';

// react-router是react-router-dom和react-router-native的核心，一般不作为单独包引入。
// react-router-dom 是用于web端
// react-router-native包  react-native端
const root = ReactDOM.createRoot(
  document.getElementById('root') as HTMLElement
);
root.render( <App />);

